package com.hzw.saas.api.rss.query;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzw.saas.common.config.util.PageParam;
import com.hzw.saas.common.util.constants.PatternConsts;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class JournalArticleSearchQuery implements Serializable {
    @ApiModelProperty(value = "分类Ids", notes = "按分类检索")
    private List<String> catalogIds;

    @ApiModelProperty(value = "文章标题", notes = "按文章标题检索")
    private List<String> titles;

    @ApiModelProperty(value = "作者名称", notes = "按作者检索")
    private List<String> authors;

    @ApiModelProperty(value = "期刊名称", notes = "按期刊名检索")
    private List<String> journalName;

    @ApiModelProperty(value = "期刊号", notes = "按期刊号检索")
    private List<String> journalIss;

    @ApiModelProperty(value = "关键字查询", notes = "关键字查询")
    private List<String> keyWords;

    @ApiModelProperty(value = "文章发布日期区间起始")
    @JsonFormat(pattern = PatternConsts.NORM_DATE_PATTERN)
    private Date pubStartDate;

    @ApiModelProperty(value = "文章发布日期区间结束")
    @JsonFormat(pattern = PatternConsts.NORM_DATE_PATTERN)
    private Date pubEndDate;

    @ApiModelProperty(value = "分页参数")
    private PageParam pageParam;

}
